<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>个人中心</title>
<meta name="keywords" content=""/>
<meta name="description" content=""/>
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"/>
<meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport" />
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta name="format-detection" content="telephone=no"/>
<link rel="stylesheet" href="__STATIC__/css/common.css">
<link rel="stylesheet" href="__STATIC__/css/stylee.css">
<link rel="stylesheet" href="__STATIC__/css/swiper-4.2.2.min.css">
<script>
    window.onload = window.onresize =function(){
    	document.documentElement.style.fontSize = 100/750*document.documentElement.clientWidth + "px";
    }    
</script>
</head>
<body>
	<div class="warp">
		<div class="banner">
			<img src="__STATIC__/img/banner.png" alt="">
		</div>
		<div class="news">
			<ul>
				<li>最新新闻，新增德州扑克游戏</li>
				<li>关于游戏内部问题</li>
				<li>提现可以更简单，点击查看详情</li>
			</ul>
		</div>
		<ul class="menu">
			<li>
				<a href="{:url('index/friend')}">
					<img src="__STATIC__/img/friend.png" alt="">
					<p>我的合伙人</p>
				</a>
			</li>
			<li>
				<a href="{:url('index/code')}">
					<img src="__STATIC__/img/code.png" alt="">
					<p>我的邀请码</p>
				</a>	
			</li>
			<li>
				<a href="{:url('index/get')}">
					<img src="__STATIC__/img/money.png" alt="">
					<p>奖励领取</p>
				</a>
			</li>
		</ul>
		<div class="qst">
			<ul>
				<li>常见问题解答</li>
				<li>如果推广合伙人</li>
				<li>提现可以更简单，点击查看详情</li>
			</ul>
		</div>
		<div class="swiper-container">
		    <div class="swiper-wrapper">
		        <div class="swiper-slide"><img src="__STATIC__/img/ad.jpg" alt=""></div>
		        <div class="swiper-slide"><img src="__STATIC__/img/ad-1.jpg" alt=""></div>
		        <div class="swiper-slide"><img src="__STATIC__/img/ad-2.jpg" alt=""></div>
		    </div>
		</div>
	</div>
	<ul class="foot">
		<li class="buy"><a href="{:url('index/buycode')}">购买房卡</a></li>
		<li><a href="{:url('index/code')}">我的邀请码</a></li>
		<li><a href="{:url('index/index')}">个人中心</a></li>
		<li><a href="{:url('index/friend')}">我的合伙人</a></li>
		<li><a href="{:url('index/get')}">奖励中心</a></li>
	</ul>

	<script src="__STATIC__/js/jquery-2.1.4.min.js"></script>
	<script src="__STATIC__/js/swiper-4.2.2.min.js"></script>
	<script>	 
		var mySwiper = new Swiper ('.swiper-container', {
		    loop: true,
		    autoplay:true
		  })       

		$.ajax({
		  url: '{:url("index/is_login")}',
		  type: 'post',
		  dataType: 'json',
		  // timeout: 1000,
		  success: function (data) {
		    if(data.code == 0){
		    	window.location.href = 'http://client.rup-china.com/yxzf/index.php/index/index/wechatLogin';
		    }
		  },
		  fail: function (err) {
		    console.log(err)
		  }
		}) 
	</script>

</body>
</html>